package com.lcf.SuperMarket;

/**
 * @author 懒洋洋不懒
 * @version 1.0
 * @date 2025/4/11 17:11
 * @description
 */
public class UserInfo {

        int userId;
        String account;
        String cardType;
        int points;
        String cardStatus;
        String password;

        public UserInfo(int userId, String account, String cardType, int points, String cardStatus, String password) {
            this.userId = userId;
            this.account = account;
            this.cardType = cardType;
            this.points = points;
            this.cardStatus = cardStatus;
            this.password = password;
        }

        @Override
        public String toString() {
            return "用户ID: " + userId +
                    "\n账号: " + account +
                    "\n卡类型: " + cardType +
                    "\n积分: " + points +
                    "\n卡片状态: " + cardStatus;
        }
    }

